package com.wswy.wzcx.ui.web;


import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.wswy.wzcx.api.Configs;
import com.wswy.wzcx.api.ConfigsKt;
import com.wswy.wzcx.utils.StatusBarCompat;
import com.wswy.wzcx.utils.UiUtils;

/**
 * 交管12123
 */
public class Traffic12123Fragment extends FragmentWebview {

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = super.onCreateView(inflater, container, savedInstanceState);
        UiUtils.INSTANCE.injectStatusBar(view);
        return view;

    }

    public static Traffic12123Fragment newInstance() {
        Bundle args = new Bundle();
        args.putString("data", ConfigsKt.H5_TAB_12123());
        Traffic12123Fragment fragment = new Traffic12123Fragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected String getOverrideUrl() {
        return "m.12123.com";
    }
}
